package com.qf.dao;

import java.sql.SQLException;
import java.util.List;

import com.qf.model.Telbook;
import com.qf.model.User;

public interface UserDao {

	
	public User findByNameAndPwd(String uname,String upwd);

	boolean addContactor(String cname, String ctel, String caddress, String cremark, int uid, int tid) throws SQLException;
	
	boolean deleteContaxtor(int cid) throws SQLException;
	
	List<Telbook> showAll(int uid);
	
}
